<template>
  <div class="footbar">
    <ul>
      <router-link tag="li" active-class="active" to="/movie">
        <i class="iconfont icon-dianying"></i>
        <p>电影</p>
      </router-link>
      <router-link tag="li" active-class="active" to="/cinema">
        <i class="iconfont icon-yingyuan"></i>
        <p>影院</p>
      </router-link>
      <router-link tag="li" active-class="active" to="/perform">
        <i class="iconfont icon-yanchufuwu"></i>
        <p>演出</p>
      </router-link>
      <router-link tag="li" active-class="active" to="/center">
        <i class="iconfont icon-wode"></i>
        <p>我的</p>
      </router-link>
    </ul>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {},
};
</script>

<style lang="scss" scoped>
.active {
  color: red;
}
.footbar {
  width: 100%;
  height: 50px;
  position: fixed;
  left: 0;
  bottom: 0;
  border-top: 1px solid #ccc;
  background: white;
  text-align: center;
  z-index: 666;
  ul {
    display: flex;
    align-items: center;
    li {
      flex: 1;
      margin-top: 3px;
      i {
        font-size: 25px;
      }
      p {
        font-size: 12px;
        margin-top: 1px;
      }
    }
  }
}
</style>
